package com.ev.k3cloudBusiness.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.ev.k3cloud.entity.K3CloudBaseNumberMetaEntity;
import com.ev.k3cloud.entity.K3CloudBaseNameMetaEntity;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("其他出库新增vo")
public class K3OthOutStockInsertVo {

    @JSONField(ordinal = 1)
    @ApiModelProperty("库存组织")
    private K3CloudBaseNumberMetaEntity fstockOrgId= new K3CloudBaseNumberMetaEntity("");

    @JSONField(ordinal = 2)
    @ApiModelProperty("日期")
    private String fdate="";

    @JSONField(ordinal = 3)
    @JsonIgnore
    @ApiModelProperty("单据类型")
    private K3CloudBaseNumberMetaEntity fbillTypeID = new K3CloudBaseNumberMetaEntity("QTCKD01_SYS");

    @JSONField(ordinal = 4)
    @JsonIgnore
    @ApiModelProperty("货主类型")
    private String fownerTypeIdHead = "BD_OwnerOrg";

    @JSONField(ordinal = 5)
    @ApiModelProperty("货主")
    private K3CloudBaseNumberMetaEntity fownerIdHead= new K3CloudBaseNumberMetaEntity("");

    @JSONField(ordinal = 6)
    @ApiModelProperty("领料组织")
    private K3CloudBaseNumberMetaEntity fpickOrgId= new K3CloudBaseNumberMetaEntity("");

    @JSONField(ordinal = 7)
    @JsonIgnore
    @ApiModelProperty("库存方向")
    private String fstockDirect = "GENERAL";

    @JSONField(ordinal = 8)
    @ApiModelProperty("领料部门")
    private K3CloudBaseNumberMetaEntity fdeptId= new K3CloudBaseNumberMetaEntity("");

    @JSONField(ordinal = 9)
    @JsonIgnore
    @ApiModelProperty("领料人")
    private K3CloudBaseNameMetaEntity fpickerId= new K3CloudBaseNameMetaEntity();

    @JSONField(ordinal = 10)
    @ApiModelProperty("仓管员")
    private K3CloudBaseNameMetaEntity fstockerId= new K3CloudBaseNameMetaEntity();

    @JSONField(ordinal = 11)
    @JsonIgnore
    @ApiModelProperty("业务类型")
    private String fbizType = "0";

    @JSONField(ordinal = 12)
    @JsonIgnore
    @ApiModelProperty("本位币")
    private K3CloudBaseNumberMetaEntity fbaseCurrId = new K3CloudBaseNumberMetaEntity("PRE001");

    @JSONField(ordinal = 13)
    @ApiModelProperty("明细信息")
    private List<K3OthOutStockEntryInsertVo> fentity=new ArrayList<>();

}
